<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>

<%
    String stuNo=request.getParameter("studentNo");
	String sName=request.getParameter("studentname");
	String spwd=request.getParameter("loginpwd");
	String sgradeid=request.getParameter("gradeid");
	String sSex=request.getParameter("sex");
	String sphone=request.getParameter("phone");
	String semail=request.getParameter("email");
	String sdate=request.getParameter("borndate");
	String saddress=request.getParameter("address");
 %>
		<h1>修改学生信息</h1>
		
        <form action="studentController/updateStudent" method="post">
    	学生编号:<input type="text" id="stuNo" name="studentNo" value="${param.stuNo}"><br>
    	学生姓名:<input type="text" id="sName" name="studentname" value="${param.sName}"><br>
    	密       码:<input type="text" id="spwd" name="loginpwd" value="${param.spwd}"><br>
    	年级编号:<input type="text" id="sgradeid" name="gradeid" value="${param.sgradeid}"><br>
    	学生性别:<input type="text" id="sSex" name="sex" value="${param.sSex}"><br>
    	学生电话:<input type="text" id="sphone" name="phone" value="${param.sphone}"><br>
    	学生邮箱:<input type="text" id="semail" name="email" value="${param.semail}"><br>
    	出生日期:<input type="text" id="sdate" name="borndate" value="${param.sdate}"><br>
    	学生住址:<input type="text" id="saddress" name="address" value="${param.saddress}">
    	<input type="submit" value="修改">
    </form>
</body>
</html>